package com.dinstar.dinlink.utils.permissions;

import androidx.annotation.NonNull;
import androidx.lifecycle.DefaultLifecycleObserver;
import androidx.lifecycle.LifecycleOwner;

public class MyLifecycleObserver implements DefaultLifecycleObserver {

    @Override
    public void onCreate(@NonNull LifecycleOwner owner) {
        // 处理创建事件
    }

    @Override
    public void onStart(@NonNull LifecycleOwner owner) {
        // 处理启动事件
    }

    @Override
    public void onResume(@NonNull LifecycleOwner owner) {
        // 处理恢复事件
    }

    @Override
    public void onPause(@NonNull LifecycleOwner owner) {
        // 处理暂停事件
    }

    @Override
    public void onStop(@NonNull LifecycleOwner owner) {
        // 处理停止事件
    }

    @Override
    public void onDestroy(@NonNull LifecycleOwner owner) {
        // 处理销毁事件
    }
}

